<%--
  Created by IntelliJ IDEA.
  User: user
  Date: 2018/3/20
  Time: 19:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>add</title>
    <style>
        *{
            list-style-type: none;
        }
    </style>
  <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css"/>
</head>
<body>

<h1>城市信息</h1>

    <div  style="width: 60%;text-align: right">
      <form class="form-horizontal"  action="/pageadd.action">
        <div class="form-group">
          <label for="code" class="col-sm-2 control-label">Code :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="code" id="code" placeholder="code">
          </div>
        </div>

        <div class="form-group">
          <label for="name" class="col-sm-2 control-label">Name :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="name"  id="name" placeholder="name">
          </div>
        </div>

        <div class="form-group">
          <label for="region" class="col-sm-2 control-label">Region :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="region" id="region" placeholder="region">
          </div>
        </div>

        <div class="form-group">
          <label for="surfaceArea" class="col-sm-2 control-label">SurfaceArea :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="surfaceArea" id="surfaceArea" placeholder="surfaceArea">
          </div>
        </div>

        <div class="form-group">
          <label for="indepYear" class="col-sm-2 control-label">IndepYear :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="indepYear" id="indepYear" placeholder="indepYear">
          </div>
        </div>

        <div class="form-group">
          <label for="population" class="col-sm-2 control-label">Population :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="population" id="population" placeholder="population">
          </div>
        </div>

        <div class="form-group">
          <label for="lifeExpectancy" class="col-sm-2 control-label">LifeExpectancy :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="lifeExpectancy" id="lifeExpectancy" placeholder="lifeExpectancy">
          </div>
        </div>

        <div class="form-group">
          <label for="gnp" class="col-sm-2 control-label">GNP :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="gnp" id="gnp" placeholder="gnp">
          </div>
        </div>

        <div class="form-group">
          <label for="headOfState" class="col-sm-2 control-label">HeadOfState :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="headOfState" id="headOfState" placeholder="headOfState">
          </div>
        </div>

        <div class="form-group">
          <label for="capital" class="col-sm-2 control-label">Capital :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="capital" id="capital" placeholder="capital">
          </div>
        </div>

        <div class="form-group">
          <label for="code2" class="col-sm-2 control-label">Code2 :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="code2" id="code2" placeholder="code2">
          </div>
        </div>

        <div class="form-group">
          <div class="col-sm-offset-1 col-sm-3">
            <button type="submit" class="btn btn-default">提交</button>
          </div>
        </div>
      </form>
    </div>
</body>
</html>
